<include file="./Tpl/Admin/header.html" />
<div class="main">
  <div class="main_title"> <img src="/Public/Admin/images/book1.gif"/>&nbsp;&nbsp;挂单记录列表 </div>
  <div class="list_body">
	
    <form action="?s=Admin/Orders/order_list" method="post" >
		用户名：<input type="text" name="uname" />
	
		       <input type="submit" value="查询"/>
  	</form>
      <table cellspacing=0 cellpadding=0 border=0>
        <!--<tr>
          <td colspan=10><a href="?s=Admin/Message/index/status/0" {$status==2?'class="red"':''}>未处理</a>&nbsp;&nbsp;<a href="?s=Admin/Message/index/status/1" {$status==1?'class="red"':''}>已处理</a></td>  
        </tr> -->
        <tr>
        	 <th align="center" >用户名</th>
            <th align="center" >委托时间</th>
              <th align="center" >委托类别</th>
              
              <th align="center" >委托数量</th>
            
              <th align="center" >委托金额</th>
              <th align="center">手续费</th>
        	    <th align="center">委托价格</th>
				  <th align="center">成交金额</th>
          			  <th align="center">状态</th>
					    <th align="center">操作</th>
          
        </tr>
      <volist name="list" id="v" empty="$empty">
            <tr>
              <!--td><input type="checkbox" class="id" name="id[]" value="{$vo.id}"></td-->
				 <td align="center">{$v.username}</td>
         	 	 <td align="center">{$v.ctime|date="Y-m-d H:i:s",###}</td>
                <td align="center"><eq name="v.type" value="0">卖出</eq>
										<eq name="v.type" value="1">买入</eq></td>
           
                <td align="center">{$v['num']}</td>
              
                <td align="center">{$v['price']*$v['num']}</td>
                <td align="center">{$v.deal}</td>
				  <td align="center">{$v.price}</td>
				    <td align="center">{$v['price']*$v['num']-$v['num']*$v['deal']}</td>
					    <td align="center"><eq name="v.status" value="0">挂单中</eq>
										<eq name="v.status" value="1">已成交</eq></td>
             
               <td align="center"><a href="?s=Admin/Orders/order_del/id/{$v.id}">删除</a></td>
            </tr>
          </volist>
        <tr>
          <td colspan=10 class="page"><!--<a href="?s=Admin/Draw/index/page/1{$urls}">首页</a> <a href="?s=Admin/Draw/index/page/{$page-1}{$urls}">上一页</a> <a href="?s=Admin/Draw/index/page/{$page+1}{$urls}">下一页</a> <a href="?s=Admin/Draw/index/page/{$page_num}{$urls}">尾页</a> -->{$page} </td>
        </tr>
      </table>
  
  </div>
</div>
<script type="text/javascript">
	$(document).ready(function(e) {
        //打开子菜单
			$("#collapseThree").addClass("in");	
    });
</script>
<include file="./Tpl/Admin/footer.html" /> 